package com.morningstar.authorization.controller.enitity;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginEntity {

    /**
     * 登录名
     */
    @NotBlank
    private String name;

    /**
     * 登录密码
     */
    @NotBlank
    private String pwd;
}
